<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<form class="well form-search" method="post" action="{:U('Member/showmember')}">
			会员id：
			<input type="text" name="uid" style="width: 100px;" value="{$where['uid']}" > &nbsp; &nbsp;
			会员姓名：
			<input type="text" name="name" style="width: 100px;" value="{$where['name']}" > &nbsp; &nbsp;
			会员电话：
			<input type="text" name="tel" style="width: 100px;" value="{$where['tel']}" > &nbsp; &nbsp;
			所属场馆： 
			<select style="width:100px" name='s'>
				<option value ="" <if condition="$s == '通用'">selected</if> ></option>
				<option value ="二十四城" <if condition="$s == '二十四城'">selected</if> >二十四城</option>
				<option value ="高新" <if condition="$s == '高新'">selected</if> >高新</option>
				<option value="磨子桥" <if condition="$s == '磨子桥'">selected</if> >磨子桥</option>
				<option value="凯旋广场" <if condition="$s == '凯旋广场'">selected</if> >凯旋广场</option>
			</select>
			<input type="submit" class="btn btn-primary" value="搜索" />
			<a class="btn btn-danger" href="{:U('Member/clear')}">清空</a>
		</form>
		<table  class="table table-hover table-bordered table-list">
			<tr>
				<th>会员id</th>
				<th>姓名</th>
				<th>所属场馆</th>
				<th>昵称</th>
				<th>电话</th>
				<th>积分</th>
				<th>余额</th>
				<th>管理员操作</th>
			</tr>
			<volist name='msg' id='show'>
				<tr>
					<td>{$show['uid']}</td>
					<td>{$show['name']}</td>
					<td>{$show['s']}</td>
					<td>{$show['nick']}</td>
					<td>{$show['tel']}</td>
					<td>{$show['credit']}</td>
					<td>{$show['money']}</td>
					<!--pathinfo模式下的参数传递：控制器/方法/参数/参数的值-->
					<td><a class="btn btn-primary btn-small" href='index.php?m=Member&a=editmember&uid={$show.uid}'>修改</a>&nbsp;<a class="btn btn-danger btn-small" href='index.php?m=Member&a=delmember&uid={$show.uid}'>删除</a></td>
				</tr>
			</volist>
		</table>
		<div class="pagination">{$page}</div>
	</div>
<!--<tc_include file=":footer" />-->
</body>
</html>